package com.huichenghe.xinlvsh01.DataEntites;

/**此类封装了离线运动数据，用于呈现在RecyclerView上边
 * Created by lixiaoning on 15-11-17.
 */
public class OutLineDataEntity
{

    public static final int TYPE_UNKNOW = -1;
    public static final int TYPE_WALK = 0;
    public static final int TYPE_RUNNINT = 1;
    public static final int TYPE_BALL_MOVEMENT = 2;
    public static final int TYPE_MUSCLE = 3;
    public static final int TYPE_CLIMING = 4;
    public static final int TYPE_AEROBIC = 5;
    private int type;       // 运动类型
    private String time;    // 此条运动测试的时间
    private int stepCount;  // 运动步数
    private int calorie;    // 消耗卡路里
    private int heartReat;  // 心率

    public OutLineDataEntity(int type, String time, int stepCount, int calorie, int heartReat)
    {
        this.calorie = calorie;
        this.time = time;
        this.type = type;
        this.stepCount = stepCount;
        this.heartReat = heartReat;
    }

    public int getType() {
        return type;
    }

    public String getTime() {
        return time;
    }

    public int getStepCount() {
        return stepCount;
    }

    public int getCalorie() {
        return calorie;
    }

    public int getHeartReat() {
        return heartReat;
    }
}
